<template>
  <a-modal
    :title="title"
    :width="width"
    :visible="visible"
    :footer="null"
    :confirmLoading="confirmLoading"
    @cancel="handleCancel"
    cancelText="关闭">

    <detail-list>
      <detail-list-item  term="生产订单号">{{record.productOrdNo}}</detail-list-item>
      <detail-list-item term="装置编号">{{record.unitNo}}</detail-list-item>
      <detail-list-item term="工序类型">{{record.processType}}</detail-list-item>
      <detail-list-item term="组装完成时间">{{record.endTime}}</detail-list-item>
      <detail-list-item term="板卡编号">{{record.boardNo}}</detail-list-item>
      <detail-list-item term="软件版本">{{record.softVersion}}</detail-list-item>
    </detail-list>
    <div style="text-align: center">
      <a-button type="primary" @click="handleCancel">关闭</a-button>
    </div>

  </a-modal>
</template>

<script>

  import DetailList from '@/components/tools/DetailList'
  const DetailListItem = DetailList.Item

  export default {
    name: "ZxjEip2cZzzzModal",
    components: {
      DetailList,
      DetailListItem
    },
    data () {
      return {
        type:"inner",
        title:"操作",
        width:800,
        visible: false,
        model: {},
        confirmLoading: false,
        url: {

        }
      }
    },
    methods: {
      close () {
        this.$emit('close');
        this.visible = false;
      },
      handleCancel () {
        this.close()
      },
      addModal (record) {
        this.record=record;
        this.visible = true;
      }
    }
  }
</script>